package com.handpay.zztong.hp.main.model.limit;

import android.os.Parcel;

import com.handpay.zztong.hp.bean.ResponseBean;

/**
 * Created by lyang on 2017/2/20.
 */

public class LimitBean extends ResponseBean {

    /**
     * creditCardLimit : -1
     * dayLimit : -1
     * dayMagLimit : -1
     * dayTraffic : 0
     * debitCardLimit : -1
     * icCreditCardLimit : -1
     * icDebitCardLimit : -1
     * monthLimit : -1
     * monthMagLimit : -1
     * monthTraffic : 0
     * wdPermission : 00
     */

    private String creditCardLimit;
    private String dayLimit;
    private String dayMagLimit;
    private String dayTraffic;
    private String debitCardLimit;
    private String icCreditCardLimit;
    private String icDebitCardLimit;
    private String monthLimit;
    private String monthMagLimit;
    private String monthTraffic;
    private String wdPermission;

    public String getCreditCardLimit() {
        return creditCardLimit;
    }

    public void setCreditCardLimit(String creditCardLimit) {
        this.creditCardLimit = creditCardLimit;
    }

    public String getDayLimit() {
        return dayLimit;
    }

    public void setDayLimit(String dayLimit) {
        this.dayLimit = dayLimit;
    }

    public String getDayMagLimit() {
        return dayMagLimit;
    }

    public void setDayMagLimit(String dayMagLimit) {
        this.dayMagLimit = dayMagLimit;
    }

    public String getDayTraffic() {
        return dayTraffic;
    }

    public void setDayTraffic(String dayTraffic) {
        this.dayTraffic = dayTraffic;
    }

    public String getDebitCardLimit() {
        return debitCardLimit;
    }

    public void setDebitCardLimit(String debitCardLimit) {
        this.debitCardLimit = debitCardLimit;
    }

    public String getIcCreditCardLimit() {
        return icCreditCardLimit;
    }

    public void setIcCreditCardLimit(String icCreditCardLimit) {
        this.icCreditCardLimit = icCreditCardLimit;
    }

    public String getIcDebitCardLimit() {
        return icDebitCardLimit;
    }

    public void setIcDebitCardLimit(String icDebitCardLimit) {
        this.icDebitCardLimit = icDebitCardLimit;
    }

    public String getMonthLimit() {
        return monthLimit;
    }

    public void setMonthLimit(String monthLimit) {
        this.monthLimit = monthLimit;
    }

    public String getMonthMagLimit() {
        return monthMagLimit;
    }

    public void setMonthMagLimit(String monthMagLimit) {
        this.monthMagLimit = monthMagLimit;
    }

    public String getMonthTraffic() {
        return monthTraffic;
    }

    public void setMonthTraffic(String monthTraffic) {
        this.monthTraffic = monthTraffic;
    }

    public String getWdPermission() {
        return wdPermission;
    }

    public void setWdPermission(String wdPermission) {
        this.wdPermission = wdPermission;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        super.writeToParcel(dest, flags);
        dest.writeString(this.creditCardLimit);
        dest.writeString(this.dayLimit);
        dest.writeString(this.dayMagLimit);
        dest.writeString(this.dayTraffic);
        dest.writeString(this.debitCardLimit);
        dest.writeString(this.icCreditCardLimit);
        dest.writeString(this.icDebitCardLimit);
        dest.writeString(this.monthLimit);
        dest.writeString(this.monthMagLimit);
        dest.writeString(this.monthTraffic);
        dest.writeString(this.wdPermission);
    }

    public LimitBean() {
    }

    protected LimitBean(Parcel in) {
        super(in);
        this.creditCardLimit = in.readString();
        this.dayLimit = in.readString();
        this.dayMagLimit = in.readString();
        this.dayTraffic = in.readString();
        this.debitCardLimit = in.readString();
        this.icCreditCardLimit = in.readString();
        this.icDebitCardLimit = in.readString();
        this.monthLimit = in.readString();
        this.monthMagLimit = in.readString();
        this.monthTraffic = in.readString();
        this.wdPermission = in.readString();
    }

    public static final Creator<LimitBean> CREATOR = new Creator<LimitBean>() {
        @Override
        public LimitBean createFromParcel(Parcel source) {
            return new LimitBean(source);
        }

        @Override
        public LimitBean[] newArray(int size) {
            return new LimitBean[size];
        }
    };
}
